package cn.edu.scau.cmi.suwenpeng.chapter05;
class A_exercise10{
	double f(int x,double y) {
		return x+y;		
	}
	int f(int x,int y) {
		return x+y;		
	}
}
public class E_exercise10 {

	public static void main(String[] args) {
		A_exercise10 a=new A_exercise10();
		System.out.println(a.f(10, 10));
		System.out.println(a.f(10, 10.0));
	}

}
